const state = {
	money: 'store钱的使用'
}
const mutations = {
	add(state) {
		state.money++
	},
	reduce(state) {
		state.money--
	}
}
const actions = {
	add: ({
		commit
	}) => {
		commit('add')
	},
	reduce: ({
		commit
	}) => {
		commit('reduce')
	}
}
export default {
	namespaced: true, //开启命名空间
	state,
	mutations,
	actions
}
